Class NotificationSDKServerErrorCodes
- java.lang.Object
-
- com.vasco.digipass.sdk.utils.notification.server.constants.NotificationSDKServerErrorCodes
-
public class NotificationSDKServerErrorCodes extends java.lang.ObjectDefines the error codes returned by the NotificationSDKServer.
-
-
Field Summary
Fields Modifier and Type Field Description static intCALL_ON_TERMINATED_INSTANCEThe NotificationSDKServer instance has been finished.static intCREDENTIALS_ANDROID_INVALIDThe Android part of the credentials object is invalid.static intCREDENTIALS_IOS_INVALIDThe iOS part of the credentials object is invalid.static intCREDENTIALS_NULLThe credentials object is null.static intINTERNAL_ERRORAn internal error has occurred.static intNOTIFICATION_ANDROID_DATA_TOO_LONGThe Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROIDbytes).static intNOTIFICATION_CONTENT_NULLThe notification content is null.static intNOTIFICATION_IOS_DATA_TOO_LONGThe iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOSbytes).static intNOTIFICATION_IOS_NO_APP_BUNDLE_IDThe iOS bundle ID has not been specified in the notification.static intNOTIFICATION_IOS_TITLE_CHARACTER_INVALIDThe iOS title of the notification contains an invalid character.static intNOTIFICATION_IOS_TOKEN_INVALIDThe iOS device token is no longer valid.static intNOTIFICATION_NULLThe notification object is null.static intNOTIFICATION_PROVIDER_ANDROID_ERRORThere has been an error with the Google notification service provider.static intNOTIFICATION_PROVIDER_IOS_ERRORThere has been an error with the Apple notification service provider.static intNOTIFICATION_SUBJECT_NULLThe notification subject is null.static intNOTIFICATION_TITLE_NULLThe notification title is null.static intSETTINGS_INVALIDThe settings object is invalid.static intVASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMATThe notification format is incorrect.static intVASCO_NOTIFICATION_IDENTIFIER_INVALIDThe notification identifier is invalid.static intVASCO_NOTIFICATION_IDENTIFIER_NULLThe notification identifier is null or empty.
-
-
-
Field Detail
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
An internal error has occurred. The error code value is -5400.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The notification format is incorrect. It must be an even hexadecimal string. The error code value is -5401.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULL
The notification identifier is null or empty. The error code value is -5402.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALID
The notification identifier is invalid. The error code value is -5403.- See Also:
- Constant Field Values
-
CREDENTIALS_NULL
public static final int CREDENTIALS_NULL
The credentials object is null. The error code value is -5404.- See Also:
- Constant Field Values
-
CREDENTIALS_ANDROID_INVALID
public static final int CREDENTIALS_ANDROID_INVALID
The Android part of the credentials object is invalid. The error code value is -5405.- See Also:
- Constant Field Values
-
CREDENTIALS_IOS_INVALID
public static final int CREDENTIALS_IOS_INVALID
The iOS part of the credentials object is invalid. The error code value is -5406.- See Also:
- Constant Field Values
-
SETTINGS_INVALID
public static final int SETTINGS_INVALID
The settings object is invalid. The error code value is -5409.- See Also:
- Constant Field Values
-
NOTIFICATION_PROVIDER_ANDROID_ERROR
public static final int NOTIFICATION_PROVIDER_ANDROID_ERROR
There has been an error with the Google notification service provider. See cause for error details. The error code value is -5410.- See Also:
- Constant Field Values
-
NOTIFICATION_PROVIDER_IOS_ERROR
public static final int NOTIFICATION_PROVIDER_IOS_ERROR
There has been an error with the Apple notification service provider. See cause for error details. The error code value is -5411.- See Also:
- Constant Field Values
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULL
The notification object is null. The error code value is -5414.- See Also:
- Constant Field Values
-
NOTIFICATION_TITLE_NULL
public static final int NOTIFICATION_TITLE_NULL
The notification title is null. The error code value is -5415.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
public static final int NOTIFICATION_IOS_TITLE_CHARACTER_INVALID
The iOS title of the notification contains an invalid character. '\n' is not a valid character in the title. The error code value is -5416.- See Also:
- Constant Field Values
-
NOTIFICATION_SUBJECT_NULL
public static final int NOTIFICATION_SUBJECT_NULL
The notification subject is null. The error code value is -5417.- See Also:
- Constant Field Values
-
NOTIFICATION_CONTENT_NULL
public static final int NOTIFICATION_CONTENT_NULL
The notification content is null. The error code value is -5418.- See Also:
- Constant Field Values
-
NOTIFICATION_ANDROID_DATA_TOO_LONG
public static final int NOTIFICATION_ANDROID_DATA_TOO_LONG
The Android data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_ANDROIDbytes). The error code value is -5421.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_DATA_TOO_LONG
public static final int NOTIFICATION_IOS_DATA_TOO_LONG
The iOS data of the notification is too long (the maximum length of the payload isNotificationSDKServer.MAX_PAYLOAD_LENGTH_IOSbytes). The error code value is -5422.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_TOKEN_INVALID
public static final int NOTIFICATION_IOS_TOKEN_INVALID
The iOS device token is no longer valid. The error code value is -5425.- See Also:
- Constant Field Values
-
NOTIFICATION_IOS_NO_APP_BUNDLE_ID
public static final int NOTIFICATION_IOS_NO_APP_BUNDLE_ID
The iOS bundle ID has not been specified in the notification. The error code value is -5426.- See Also:
- Constant Field Values
-
CALL_ON_TERMINATED_INSTANCE
public static final int CALL_ON_TERMINATED_INSTANCE
The NotificationSDKServer instance has been finished. It cannot be used anymore. The error code value is -5427.- See Also:
- Constant Field Values
-
-